.home {
  padding: 1rem;
  font-size: 1.4rem;
  .container {
    margin-top: 22px;
    font-size: 32px;
  }
  .item {
    margin-bottom: 22px;
    background-image: url("../assets/bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    .money {
      text-align: center;
      color: #a45927;
      font-weight: 600;
      span {
        font-weight: 400;
        font-size: 1.6rem;
      }
    }
    .small {
      font-size: 1.8rem;
    }
    .content {
      color: #ffe9b0;
      width: 45%;
      height: 90%;
      .title {
        font-size: 1.6rem;
        font-weight: 600;
      }
      .desc {
        font-size: 1rem;
        margin-top: -4px;
      }
      .timer {
        margin-top: 8px;
        font-size: 0.8rem;
        opacity: 0.8;
      }
      .restTime {
        margin-top: 8px;
        font-size: 0.8rem;
        .restText {
          display: inline-block;
          margin-right: 6px;
          opacity: 0.8;
        }
      }
    }
    .right {
      background-color: #ffe9b0;
      color: #a45927;
      text-align: center;
      font-size: 1.5rem;
      font-weight: 600;
      width: 6rem;
      border-radius: 3rem;
      box-shadow: 0px 3px 6px 1px rgba(61, 114, 16, 0.5);
    }
  }
}

@media screen and (min-width: 0px) {
  .item {
    width: 430px;
    height: 100px;
    .money {
      width: 25%;
    }
    .right {
      margin-left: -16px;
    }
  }
}

@media screen and (min-width: 780px) {
  .item {
    width: 500px;
    height: 130px;
    .money {
      width: 28%;
    }
    .right {
      margin-left: 0;
    }
  }
}
